﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Ord.Repository.Entities
{
    /// <summary>
    /// 包裹商品
    /// </summary>
    [Table("ord_OrderParcelGoods"), Comment("包裹商品")]
    public class OrderParcelGoods : EfEntity
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        [Comment("订单ID")]
        public long OrderId { get; set; }

        /// <summary>
        /// 商品
        /// </summary>
        [Comment("订单商品ID")]
        public long OrdGoodsId { get; set; }

        /// <summary>
        /// 包裹
        /// </summary>
        [Comment("包裹ID")]
        public long OrdParcel { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        [Comment("商品数量")]
        public int Quantity { get; set; }
    }
}
